package as3.carcassone.model {
	import as3.carcassone.tiles.IGameTile;

	/**
	 * @author ypmits
	 */
	public class GameLogic {

		private static var _instance : GameLogic;
		
		public static function get instance() : GameLogic {
			if( _instance == null ) _instance = new GameLogic( new SingletonEnforcer() );
			return _instance;
		}

		
		public function GameLogic( enforcer : SingletonEnforcer ) {
			if( !enforcer ) trace( "ERROR: GameLogic should not be instantiated with 'new'. Use it like: GameLogic.instance.etcetera" );
			
		}
		
		
		
		public function isCompatible( tile : IGameTile ) : Boolean
		{
			return false;
		}
		
		
	}
}
class SingletonEnforcer {}